import { request } from '@/sheep/request';

const route = {
  path: 'industry',
  name: 'seller.admin.industry',
  component: () => import('./index.vue'),
  meta: {
    title: '行业资质审核',
  },
};

const api = {
  list: (params) =>
    request({
      url: '/operations/admin/CategoryAudit',
      method: 'GET',
      params,
    }),
  audit: (id, data) =>
    request({
      url: `/operations/admin/categoryAudit/audit/${id}`,
      method: 'POST',
      data
    }),
};

export { route, api };